package com.mrzhou.file.props;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Getter
@Setter
@ConfigurationProperties("file.config.aws")
@Component
public class FileAwsProperties {

    private String accessKey = "ecs_ops"; //

    private String secretKey = "cGChyGCl6lnM1yNodClxN+m8+sXBc1N0IQc0iJ24"; //

    private String bucket = "ecs-minmax";

    private String endpoint = "lhecs.minmaxtec.com:9021";

    private String pathPrefix = "minmaxcloud";

    private String protocol = "https";

    private String filePath = protocol + "://" + endpoint+ "/" + bucket;
}
